package com.smart.community.work.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 保洁区域负责人关联视图对象
 * 
 * 严格按照《Java后端SpringBoot代码开发规范_重构版.md》VO规范实现：
 * - 功能单一原则：VO类必须是单纯的数据传输对象，功能必须单一
 * - 完整注释：所有字段都有完整的JavaDoc注释和Swagger注解
 * - 字段映射：正确映射关联查询结果字段
 * - 禁止工具方法：只保留基本的getter/setter方法，禁止添加工具方法
 * 
 * @author Wu.Liang
 * @since 2025-01-30
 * @version 1.0.0
 */
@Data
@Schema(description = "保洁区域负责人关联视图对象")
public class CleaningAreaUserRelVO {

    @Schema(description = "关联ID")
    private Long id;

    @Schema(description = "区域ID")
    private Long areaId;

    @Schema(description = "区域名称")
    private String areaName;

    @Schema(description = "区域类型")
    private String areaType;

    @Schema(description = "区域位置")
    private String location;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "真实姓名")
    private String realName;

    @Schema(description = "是否主要负责人：0-否，1-是")
    private Integer isPrimary;

    @Schema(description = "是否主要负责人描述")
    private String isPrimaryDesc;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
